#pragma once
#ifndef EUCLIENTGUI_COMMON_H
#define EUCLIENTGUI_COMMON_H
#endif
//EuSocket.h
#define TCP_TIMEOUT 300
#define UDP_TIMEOUT 10
#define DEFAULT_MAC TEXT("00123456789a")
#define ERR_KICK_OUT -2

//EuClientGUI.h
#define WM_NOTIFYICON			(WM_USER+1)
#define WM_POPNOTIFYICON		(WM_USER+2)
#define DEFAULT_USERNAME		TEXT("201028008629043")
#define DEFAULT_PASSWORD		TEXT("123456")
#define DEFAULT_SERVER			TEXT("auth.gucas.ac.cn")
#define DEFAULT_PORT				44449
#define DEFAULT_DOMAIN			TEXT("mails.gucas.ac.cn")
#define DEFAULT_LOGINMETHOD	1
#define DEFAULT_HOTKEY			0
#define DEFAULT_CHECKINTERVAL 10
#define DEFAULT_FLOWTHRESHOLD 200
#define GUICLASSNAME				TEXT("EUClientGUI")
#define GUIWINDOWNAME			TEXT("EuClient")

extern enum LoginDomain{town, country, abroad, offline};
